package com.chixing.day03_oop;

public class CompanyText {
    public static void main(String[] args) {
        //实例化对象（创建对象）
        Company company1 = new Company();
        company1.setCompanyId(9001);
        company1.setCompanyName("中国华为");
        company1.setCompantAddress("苏州");
        company1.setCompanyType("民营企业");
        company1.setCompanyTelno(1596676344L);

        int comId = company1.getCompanyId();
        String comName = company1.getCompanyName();
        String comAdd = company1.getCompantAddress();
        String comType = company1.getCompanyType();
        long comtelno = company1.getCompanyTelno();

        /* company1.companyId = 9001;
        company1.companyName = "中国华为";
        company1.compantAddress = "苏州";
        company1.companyType = "民营企业";
        company1.companyTelno = 1596676344L;

        company1.publishJob();
        company1.getResume();*/

        //实例化对象
      /*  Company company2 = new Company();
        company2.companyId = 9002;
        company2.companyName = "苹果";
        company2.compantAddress = "美国";
        company2.companyType = "欧美企业";
        company2.companyTelno = 15314822L;

        company2.publishJob();
        company2.getResume();*/





        Job job1 = new Job();
        job1.jobId = 101;
        job1.jobName = "java后端工程师";
        job1.jobSalaryMin = 8000;
        job1.jobSalaryMax = 25000;
        job1.jobDegree = "本科";
        job1.jobCity = "杭州";
        job1.company = company1;


        int a= 10;
        int b= 20;
        add(a,b);//实际参数（实参 arguments / args）


    }
    public static int add(int x,int y){//形式参数(形参 parameter/param)
        x=11;
        y=22;
        return 0;
    }
}
